<?php
/**
 * Created by PhpStorm.
 * User: CY
 * Date: 2018/3/6
 * Time: 16:33
 */

namespace app\api\model;


class Image extends BaseModel
{
    protected $hidden = ['delete_time','id','from'];

    public function getUrlAttr($value,$data){
        return $this->prefixImgUrl($value,$data);
    }
}